<?php
class Distributor {

	public $packNo;
	public $distID;
	public $name;
	public $assoc1;
	public $assoc2;
	public $assoc3;
	public $pax;
	public $pinTitle;
	public $attendance;

	public function __construct($packNo, $distID, $name, $assoc1, $assoc2, $assoc3, $pax, $pinTitle, $attendance) {
		$this->packNo = $packNo;
		$this->distID = $distID;
		$this->name = $name;
		$this->assoc1 = $assoc1;
		$this->assoc2 = $assoc2;
		$this->assoc3 = $assoc3;
		$this->pax = $pax;
		$this->pinTitle = $pinTitle;
		$this->attendance = $attendance;
	}

	public function getPackNo() {
		return $this->packNo;
	}

	public function getDistID() {
		return $this->distID;
	}
	
	public function getName() {
		return $this->name;
	}
	
	public function getAssoc1() {
		return $this->assoc1;
	}
	
	public function getAssoc2() {
		return $this->assoc2;
	}
	
	public function getAssoc3() {
		return $this->assoc3;
	}
	
	public function getPax() {
		return $this->pax;
	}
	
	public function getPinTitle() {
		return $this->pinTitle;
	}
	
	public function getAttendance() {
		return $this->attendance;
	}
	
	public function setAttendance($attendance) {
		$this->attendance = $attendance;
	}
	
	public function __toString() {
		return "Distributor [PackNo:'$this->packNo', Distributor ID:'$this->distID', Name: '$this->name', Assoc1: '$this->assoc1', Assoc2: '$this->assoc2', Assoc3: '$this->assoc3', Pax: '$this->pax', PinTitle: '$this->pinTitle']";
	}


}
?>